.mdc
file that enhances your development experience. The reown-appkit.mdc
file here contains Cursor-specific rules and type hints for Reown AppKit.
To use it in your project:
reown-appkit.mdc
file from this repository.cursor/rules
folder in your project’s root directory (if it doesn’t exist).mdc
file in your project’s .cursor/rules
folderprojectId
that will only work on localhost
.
To fully configure your project, please obtain a projectId
from the Reown Cloud Dashboard and update your project accordingly.
Refer to this section for more information.
npx create-react-app
, as it has been deprecated. Using it may cause dependency
issues. Instead, please use
Vite to
create your React app. You can set it up by running npm create vite@latest
.createAppKit
function with a unified configuration. This automatically applies the predefined configurations for different adapters like Wagmi, Ethers, or Solana, so you no longer need to manually configure each one individually. Simply pass the common parameters such as projectId
, chains
, metadata
, etc., and the function will handle the adapter-specific configurations under the hood.This includes WalletConnect, Coinbase and Injected connectors, and the Blockchain API as a transportOn top of your app set up the following configuration, making sure that all functions are called outside any React component to avoid unwanted rerenders.@reown/appkit/networks
path.<appkit-button>
component.Web components are global html elements that don’t require importing.